//
//  YH_InfoPubViewController.h
//  YinHang
//
//  Created by 123 on 14-6-20.
//  Copyright (c) 2014年 孙彦鹏. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "EncodeToMP4.h"//视频压缩

#import "GetCatTableViewController.h"

@interface YH_InfoPubViewController : UIViewController<UIImagePickerControllerDelegate,UINavigationControllerDelegate,UITextFieldDelegate,SendResultUrl,ASIHTTPRequestDelegate,ShowCatDelegate>

@property (weak, nonatomic) IBOutlet UIView *myView;

@property (weak, nonatomic) IBOutlet UITextFieldPadding *chooseTypeTxtField;//选择类别
@property (weak, nonatomic) IBOutlet UITextFieldPadding *titleTxtField;//标题
@property (weak, nonatomic) IBOutlet UIImageView *bgImgView;//图片背景
@property (weak, nonatomic) IBOutlet UIImageView *imgView;//图片
@property (weak, nonatomic) IBOutlet UIButton *choosePhotoBtn;//选择文件按钮
@property (weak, nonatomic) IBOutlet UIButton *takePhotoBtn;//拍照上传按钮



// 选择类别
- (IBAction)chooseCategory:(id)sender;

//选择文件
- (IBAction)choosePhotoFromPhotoAlbum:(id)sender;
//拍照上传
- (IBAction)takePhoto:(id)sender;

@end
